package com.heiye.comment.biz.constant;

/**
 * @author: heiye
 * @date: 2025/07/24 下午3:35
 * @version: v1.0.0
 * @description: MQ 常量
 */
public interface MQConstants {
    /**
     * Topic: 评论发布
     */
    String TOPIC_PUBLISH_COMMENT = "PublishCommentTopic";

    /**
     * Topic: 问题评论总数计数
     */
    String TOPIC_COUNT_QUIZ_COMMENT = "CountQuizCommentTopic";

    /**
     * Topic: 评论点赞、取消点赞共用一个 Topic
     */
    String TOPIC_COMMENT_LIKE_OR_UNLIKE = "CommentLikeUnlikeTopic";

    /**
     * Tag 标签：点赞
     */
    String TAG_LIKE = "Like";

    /**
     * Tag 标签：取消点赞
     */
    String TAG_UNLIKE = "UnLike";

    /**
     * Topic: 删除本地缓存 —— 评论详情
     */
    String TOPIC_DELETE_COMMENT_LOCAL_CACHE = "DeleteCommentDetailLocalCacheTopic";

    /**
     * Topic: 删除评论
     */
    String TOPIC_DELETE_COMMENT = "DeleteCommentTopic";

    /**
     * Topic: 删除 Redis 缓存 ——— 评论分页列表 和 评论详情
     */
    String TOPIC_DELETE_COMMENT_CACHE = "DeleteCommentDetailCacheTopic";
}
